<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<title>海外仓运输报表｜海外仓管理</title>

<!-- form js -->
<link type="text/css" rel="stylesheet" href="/fuman/js/form/bootstrap.css?v=2015513" />
<script type="text/javascript" src="/fuman/js/form/aws_admin.js?v=20150727" ></script>
<script type="text/javascript" src="/fuman/js/form/framework.js?v=20150727" ></script>
<script type="text/javascript" src="/fuman/js/form/global.js?v=20150727" ></script>
<script type="text/javascript" src="/fuman/js/form/jquery.form.js?v=20150727" ></script>
<script type="text/javascript" src="/fuman/js/form/show.js" ></script>
<body class="withvernav">
<div class="bodywrapper">
{{include file='/public/leftmenu.tpl'}}
<div class="centercontent tables">
  <div class="pageheader notab">
    <h1 class="pagetitle">海外仓运输报表</h1>
    <span class="pagedesc"></span>
    <div class="menulist">
      <ul class="profile_summary">
      </ul>
    </div>
  </div>
  <!--pageheader-->
  
  <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
  <div id="contentwrapper" class="contentwrapper"> 
    <!--搜索栏-->
    <form class="stdform stdform2" method="get" action="/oversea/report">
      <div class="tableoptions"> 操作时间：
        <input type="text"  name="starttime" value="{{$starttime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width200 hasDatepicker" />
        -
        <input type="text"  name="endtime" value="{{$endtime}} " onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width200 hasDatepicker" />
        关键词:
        <input type="text" name="other" id="other" class="width100" value="{{$other}}" />
        目的地:
        <select name="endhouse" id="endhouse" class="selection" style="width:200px;" onChange="getpurchprolist()">
          <option value="" >请选择</option>
          
                               {{foreach from=$overseawarehouse item=li key=key}}
                               		{{if $myseawarehouse}}
                               		  {{if in_array($li.name,$myseawarehouse)}} 
                               			 
          <option value="{{$li.name}}" {{if $endhouse==$li.name}} selected{{/if}} >{{$li.name}}</option>
          
                                	  {{/if}}
                                    {{else}}
                               			 
          <option value="{{$li.name}}" {{if $endhouse==$li.name}} selected{{/if}}>{{$li.name}}</option>
          
                                    {{/if}}
                               {{/foreach}}
                            
        </select>
        店铺:
        <select name="sn" id="sn"  class="selection" style="width:200px;">
          <option value="" >请选择</option>
          
                               {{foreach from=$d_shop item=li key=key}}
                              	 {{if $myshopname}}
                                     {{if in_array($li.name,$myshopname)}} 
                                     
          <option value="{{$li.name}}" {{if $sn==$li.name}} selected{{/if}} >{{$li.name}}</option>
          
                                     {{/if}}
                                 {{else}}
                                 	  
          <option value="{{$li.name}}" {{if $sn==$li.name}} selected{{/if}}>{{$li.name}}</option>
          
                                 {{/if}}
                               {{/foreach}}
                            
        </select>
        状态:
        <input name="s2" type="checkbox" value="2" {{if $s2==2}} checked{{/if}}>
        在途
        <input name="s1" type="checkbox" value="1" {{if $s1==1}} checked{{/if}}>
        待运输
        <input name="s5" type="checkbox" value="5" {{if $s5==5}} checked{{/if}}>
        运输完成
        
        &nbsp;
        <button class="radius3">Search</button>
        <br>
        <br>
        <font color="red">SKU：{{$str.skunum}} &nbsp;&nbsp;&nbsp;&nbsp;总数量：{{$str.num}}&nbsp;&nbsp;&nbsp; 总价值：{{$str.allprice}}</font> </div>
    </form>
    <!--搜索栏结束-->
     <div class="x_content" style="overflow-x:auto;">
    <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
      <colgroup>
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      <col class="con0" />
      <col class="con1" />
      </colgroup>
      <thead>
        <tr>
          <th class="head0"><a href="/oversea/report?orderbysku={{$orderbysku}}">SKU</a><span style="margin-top:15px;">&nbsp;&nbsp;<img src="/fuman/images/{{if $orderbysku=='DESC'}}arrowdown{{else}}arrowup{{/if}}.png"> </span></th>
          <th class="head0">运输计划</th>
          <th class="head1">数量</th>
          <th class="head1">成本 </th>
          <th class="head0">小计</th>
          <th class="head0">目的地</th>
           <th class="head0">店铺</th>
          <th class="head0">状态</th>
          <th class="head0">创建时间</th>
        </tr>
      </thead>
      <tbody>
      
      {{foreach from=$list item=li key=key}}
      <tr>
        <td>{{$li.sku}}</td>
        <td><a href="/oversea/showplandetail/{{$li.planid}}">{{$li.groupid}}</a></td>
        <td>{{$li.amount_num}}</td>
        <td>{{$li.costprice}}</td>
        <td>{{$li.price}}</td>
        <td>{{$li.destination}}</td>
          <td>{{$li.shopname}}</td>
        <td class="center"> {{if $li.status==1}}待运输{{/if}}
          {{if $li.status==2}}在途{{/if}}
          {{if $li.status==5}}运输完成{{/if}}</td>
        <td class="center">{{$li.createtime}}</td>
      </tr>
      {{/foreach}}
        </tbody>
      
    </table>
    </div>
    <div class="page">{{$pageList}}</div>
    <br />
    <br />
  </div>
</div>

</body>
</html>